package com.iot.core.annotation;

import com.iot.core.enums.AuthType;
import org.springframework.web.bind.annotation.Mapping;


import java.lang.annotation.*;

@Target({  ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface Auth {

    /**
     * 授权方式
     */
    AuthType authType() default AuthType.None;

}
